<!DOCTYPE html>
<html>
<head>
    <title>请假申请</title>
    <meta charset="utf-8">
    <head th:include="weixin/include :: weixinheader"></head>
</head>
<body class="leave" ontouchstart>

    <div class="weui-panel weui-panel_access">
        <div class="weui-panel__hd">
            请假申请
            <a class="new-apply" href="addLeave">+新建申请</a>
        </div>
        <div class="weui-panel__bd" th:each="l:${list}">
            <a th:href="@{'leaveInfo?leaveId='+${l.leaveId}}" class="weui-media-box weui-media-box_appmsg">
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title" th:text="${l.title}"></h4>
                    <p class="weui-media-box__desc" th:text="${l.content}"></p>
                    <h4>
                    	<span class="in-check" th:if="${l.status eq '0'}">待审核</span>
 						<span class="in-agree" th:if="${l.status eq '1'}">已同意</span>                   
 						<span class="in-agree" th:if="${l.status eq '2'}">驳回</span>                   
                    </h4>
                </div>
            </a>

        </div>
    </div>

<div th:include="weixin/include :: weixinfooter"></div>
<script>

</script>

</body>

</html>
